package com.yyp.dao;

import java.io.Serializable;
import java.util.List;

import com.yyp.bean.StaffInfo;

public interface StaffInfoDao {

	public abstract void delete(Serializable names);

	public abstract void delete(Integer id);

	public abstract StaffInfo find(Integer id);

	public abstract StaffInfo find(String name);

	public abstract void save(Object entity);

	public abstract List<StaffInfo> findAll();

	public abstract void updata(Object entity);

}